SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '479ac50aa7773c0c0017ea8d97a1be44b0b9b5cfd894db4adc0771d72665b927' 
  AND token = 'DLSwaATrsE8u1EbTHyOHY7BWH9PUX+b+Ae6JUSc78ko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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