SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3450b4fae15eb938388497eb2b8156eb33162c0095036e8dd9e98bb624d8a36f' 
  AND token = 'dRry8KUz2C9AIT+i5BsxEBqNLcIYZiGXrOgzO2ZP120=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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