SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cb8fcff72207e0e0ebf52ed56cace01048fcd04b47a128226d1aa97be6ef917' 
  AND token = 'WTQtsBXXU12zLLT0ir13FbPPaJCFIaiKhIZO9bDvpLs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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