SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2221e6b2cf376b2d6839af1496dc7b335e4301a95489284b6b440b6d9214738a' 
  AND token = 'C+TC3+jSU2vJm4p8Y/eyvDgsXWQ1YnSLQX14OwWxhAY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00071

JSON explain

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