SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1018dc40c833493084e8dacc0951d23faa6aafdc1204abfe099d7ecba52c35ca' 
  AND token = 'TZ9zjl8r9eqA9FYSM20yJ6wJvZCCP0N8uXwuPJauwS0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}