SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afa01c76b2e32e4053dd85d12b3438aa09db88fe60bb6c193b2e7b6bf1d84a73' 
  AND token = 'yJPN6IGXIRAD6mKcImI95C/2jwL47Uhf2kVYMc3hkYA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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