SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a79f52bd57dc270554f3601f5e5d3bdcbd7046a0c3e6a010487c3a22feb265c4' 
  AND token = '+OB1HfhZbRI/mdLyUq3DbNEDguc6qa+RFI0VQxj7YAo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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