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

Query time 0.00039

JSON explain

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