SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd31e7ba588acb4a905405ed761bcf54cc1ec5a949b6d400ca4f616765971f37' 
  AND token = 'B3w7O3fTkC+xyHiHiP72naNbST0lYnHxIMt9qP8FTho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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