SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ab1e8313fee1d24cb3397496410c378cd8fe36a10248538a8d45ff9d26fd2d6' 
  AND token = 'h4hzY3UrTkJZZTt0tZ9IrU8Rzzvx9frmD3ugUKkGPiY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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