SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d9ff1c0f5a147a73bd9d6570e32bd4debdb169d06589bff4dca17aacc1a9186' 
  AND token = 'qPa4MSnu7ADRLwGYrRykOsfAxFTKuJifipZ/s1viRLI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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