SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fb54dc7bdfa9cecbeaf7ebdef434cf49f25975c0d359a89e6d6f8b59a176b5b5' 
  AND token = 'okolg5DxTZeLunOFdRKwh+3t63ouadDlIFRJeEmfntc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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