SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf4767b1c71c3dfee29dddd0c819118b9df8c1512169c2fda55fe3869cc37228' 
  AND token = '1kCyRbt0cAmNJwPdi1x29mia0w0J2DN1srk5T4DODKA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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