SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a78f4b720eb44385c8001b74c7fcf4764ccad0a6d0b06660f6fbce965e420387' 
  AND token = 'PD4uVPofPHpIa6FGGKyGGjWr6ahCmASckvEA1Y5V6Zw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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