SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '15a9a2ac3eef6bd36ca8240a72cb3fde80162982aa2a2603dee8691b363645a0' 
  AND token = 'kCSbfi7zsU4t8ji60sgzTs+pvtmgp1GtmoEyEAFFOJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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