SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f719e772b659d479f986b9f5eb61107bac0577c87ef56f34c90d650bfe51af81' 
  AND token = 'XEd71LOLzix6QOF3RVG8MBrUE2kq650UsH0Ve1Xvj48=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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