SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a64c5f0d0bbdfa33b243e23eae58dc19889c6128ec8836b362077d4701b88b2' 
  AND token = 'PEb3ax1+qz+KOQPcqDb1B3Ib1CxHHwn+GRnpjXaFTEA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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