SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ea9165ffbe9c38cf1f58a69c9875de908447050a94205d76a0941451355b372' 
  AND token = 'n4ErxyA68xNXOacQIYZBrTj1oWkiMEc42qen0JOO3Jc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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