SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '381e57221385232d3399c6597d71434b2a9ef851e59c1f09af7299b3edaef681' 
  AND token = 'ZGh/iRNylQm/ZwEy3aqsXL4D0xXL6M+ZgljTE1117lU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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