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

Query time 0.00025

JSON explain

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