SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42f6a4f334c4bc00758c3ade34e31c71a52fdb0f399c65f4d5810154fdcf779a' 
  AND token = 'isPi1DjXVIYMeeGDDd1N/o6LZ68xnnwVLb0Z/TmGZlo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}