SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '295e5a146da377e2161cf6cc678d396523840c1f8fdba3310eae7495781362fe' 
  AND token = 'CuUEhx93KN2yKzgs5PheTWchI4v4UPYI9koNIgQQtSo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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