SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23c27eb0d312a644441fd3773147437d955b84d383b4db161d8d92eb37f1404d' 
  AND token = 'bRA76Ghay4mlrAlhTeKwgalMZdlwFXnOUpVRt3q36l4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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