SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e6c3ea4593708945ec6f1803b63c8de26175d885832241906676c18db2c2cbbe' 
  AND token = '5n6J0IyJS1FF1dJf2V98LF78sjnbtXgBgw8znddOR5I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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