SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a12da8e88111ef3cc9b8f0d4bd1e37e6162931686869e5673b6bfb579aaa2876' 
  AND token = 'YdplriKBZr2l0CgQoPde4yuLLvMQsHTG2f1+nah2AmI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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