SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5d0c374d81a3b2b32bd15e77889a5402a1c4c68859d64ad1a6528bed04cbbb2' 
  AND token = 'RGHQGBePRaTXql+eNBqlAs+rUA3j5wgxCzGXUY0FsS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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