SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8afa08bea50b47ca7efbc2590124402949b6843a23f02af6935e737c96fafdb' 
  AND token = 'E4gOpcqDGUQwzz26CxPa+G6P5Uk8+R4sXyvcGJn2abo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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