SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '693bf5fe3666422d55679cc196cb01761144c9fe4608c535a8d7671bf7717bd4' 
  AND token = 'b3cwfeIbubMJZEDWegGIWnzK29PoKX7YCfFAa2jPlPc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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