SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e1974a408d3ce025ea1def8eb56f5d57479e21dbe20becbf6bd91369dc340a9' 
  AND token = 'HPxSIFOZMgpJPb8tAh8upVz372Ay4uJ4owsUui6xjiU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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